package com.songminju.jsong_mvc.controller;

import java.lang.annotation.Annotation;
import java.lang.reflect.Method;

import com.songminju.jsong_httpserver.http.HttpRequest;
import com.songminju.jsong_httpserver.http.HttpResponse;

public class AnnotationController implements Controller {
	
	private static int httpGet = 1;
	private static int httpPost = 2;
	private static int httpAll = 3;
	
	private Object obj;
	private Method method;
	private String uri;
	private int httpMethod =0;
	
	public AnnotationController(Method method,Object obj) {
		this.obj = obj;
		this.method = method;
		Annotation[] annos = method.getAnnotations();
		
				
	}
	
	

	@Override
	public boolean pattern(HttpRequest req) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean process(HttpRequest req, HttpResponse res, FilterChain chain) {
		// TODO Auto-generated method stub
		return false;
	}

}
